home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MKSCSIDEV User Commands MKSCSIDEV
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- mkscsidev - Create scsi devices.
-
- SSYYNNOOPPSSIISS
- mmkkssccssiiddeevv [_o_p_t_i_o_n_s] _d_e_v_i_c_e_N_a_m_e
-
- OOPPTTIIOONNSS
- --sseerrvveerr _s_e_r_v_e_r_I_D
- _S_e_r_v_e_r_I_D is the Sprite ID of the server for
- the device. The default is to set up the
- device to use the local host.
-
-
- --hhbbaaTTyyppee _h_b_a_T_y_p_e
- _H_b_a_T_y_p_e is the numeric identifier for the
- type of HBA associated with the device. The
- default is 0. The following are valid hba
- types: SCSI3 = 0; DecStation 3100 = 0; SCSI0
- = 1; JAGUAR = 2.
-
-
- --ddeevvTTyyppee _d_e_v_i_c_e_T_y_p_e
- _D_e_v_T_y_p_e is the numeric identifier for the
- type of device. The default is 4 (SCSI
- disk).
-
-
- --hhbbaa _h_b_a _H_b_a is the id of the hba controller that the
- scsi device is connected to. The default is
- 0.
-
-
- --ttaarrggeett _t_a_r_g_e_t _T_a_r_g_e_t is the scsi target id of the scsi dev-
- ice. The default is 0.
-
-
- --lluunn _l_u_n _L_u_n is the scsi logical unit number of the
- scsi device. The default is 0.
-
-
- --ddiisskk The --ddiisskk option is used to create all the
- partitions for a scsi disk. In this case the
- _d_e_v_i_c_e_N_a_m_e is treated as a prefix, and 8 dev-
- ices are made by appending the letters 'a'
- through 'h' to the prefix.
-
-
- --rraawwDDiisskk The --rraawwDDiisskk option is used to create all the
- partitions for a raw scsi disk. A raw disk is
- accessed without referencing the disk label.
-
-
-
- Sprite v.1.0 Printed: January 27, 1990 1
-
-
-
-
-
-
- MKSCSIDEV User Commands MKSCSIDEV
-
-
-
- In this case the _d_e_v_i_c_e_N_a_m_e is treated as a
- prefix, and 8 devices are made by appending
- the letters 'a' through 'h' to the prefix.
-
- --ttaappee The --ttaappee option is used to create a device
- file for a SCSI tape.
-
- --rraawwSSccssii The --rraawwSSccssii option is used to create a dev-
- ice file for a raw SCSI device.
-
- --ssppeecciiffiicc _v_a_l_u_e
- 4 bits of the device unit number are device
- specific. The --ssppeecciiffiicc option can be used to
- set those bits. option.
-
- --hheellpp Print a summary of the command-line options.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- MMkkssccssiiddeevv is used to create SCSI devices. It is a user-
- friendly front end for the ffssmmaakkeeddeevv program. The --ddiisskk
- option is probably the most useful. It treats the _d_e_v_i_c_e_N_a_m_e
- as a prefix and creates devices for all partitions of the
- disk.
-
- EEXXAAMMPPLLEESS
- mmkkssccssiiddeevv --hhbbaa 22 --ttaarrggeett 11 --ddiisskk //ddeevv//rrssdd2211 creates the dev-
- ices:
- /dev/rsd21a, /dev/rsd21b, /dev/rsd21c, /dev/rsd21d,
- /dev/rsd21e, /dev/rsd21f, /dev/rsd21g, and /dev/rsd21h,
- using the following calls to ffssmmaakkeeddeevv:
- fsmakedev -d 4 -u 2064 /dev/rsd21a
- fsmakedev -d 4 -u 2065 /dev/rsd21b
- fsmakedev -d 4 -u 2066 /dev/rsd21c
- fsmakedev -d 4 -u 2067 /dev/rsd21d
- fsmakedev -d 4 -u 2068 /dev/rsd21e
- fsmakedev -d 4 -u 2069 /dev/rsd21f
- fsmakedev -d 4 -u 2070 /dev/rsd21g
- fsmakedev -d 4 -u 2071 /dev/rsd21h
-
- mmkkssccssiiddeevv --sseerrvveerr 1100 --ddeevvTTyyppee 55 --lluunn 11 --ssppeecciiffiicc 1100 //ddeevv//ffoooo
- produces the device /dev/foo using the following call to
- ffssmmaakkeeddeevv:
- fsmakedev -s 10 -d 5 -u 138 /dev/foo
-
- KKEEYYWWOORRDDSS
- scsi, disk, partitions, fsmakedev, device
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: January 27, 1990 2
-
-
-
-